<div class="merchantList " ng-app="merchantList" ng-controller="merchantListCtrl">
    <div class="query_area" style="margin-bottom: 10px">
        <h4>查询条件</h4>

        <form class="form form-inline">
            <!--<div class="form-group">-->
            <!--<label>上报ID</label>-->
            <!--<input type="text" class="form-control" ng-model="queryParams.id">-->
            <!--</div>-->
            <div class="form-group">
                <label>商户名称</label>
                <input type="text" class="form-control" ng-model="queryParams.deptName">
            </div>
            <div class="form-group">
                <label>商户地址</label>
                <input type="text" class="form-control" ng-model="queryParams.userName">
            </div>
            <div class="form-group">
                <label>经营类目</label>
                <input type="text" class="form-control" ng-model="queryParams.userCode">
            </div>
            <div class="form-group">
                <label>客服电话</label>
                <input type="text" class="form-control" ng-model="queryParams.machineCode">
            </div>
            <div class="form-group" style="float: right">
                <button class="btn btn-default" ng-click="queryMerchantList()">查询</button>
            </div>
        </form>
    </div>
    <div class="query_result">
        <table class="table table-striped table-hover">
            <tr>
                <th>商户名称</th>
                <th>商户简称</th>
                <th>商户地址</th>
                <th>经营类目</th>
                <th>客服电话</th>
                <th>收款人账户号</th>
                <th>收款人账户名</th>
                <th>银行商户编码</th>
                <th>提现手续费</th>
                <th>交易手续</th>
                <th>创建时间</th>
                <th>修改时间</th>
                <th>操作</th>
            </tr>
            <tbody>
            <tr ng-repeat="record in resultValue.list">
                <td>{{record.merchantName}}</td>
                <td>{{record.shortName}}</td>
                <td>{{record.merchantAddress}}</td>
                <td>{{record.category}}</td>
                <td>{{record.servicePhone}}</td>
                <td>{{record.accNo}}</td>
                <td>{{record.accName}}</td>
                <td>{{record.merchantCode}}</td>
                <td>{{record.t0drawFee}}</td>
                <td>{{record.t0tradeRate}}</td>
                <td>{{record.createTime}}</td>
                <td>{{record.modifyTime}}</td>
                <td><a ui-sref="home.content.merchant.merchantDetail({id:record.merchantId})">详情</a></td>
            </tr>
            </tbody>
        </table>
        <a ui-sref="home.content.merchant.merchantDetail()">新增</a>
        <pagination total-items="resultValue.totalSize" ng-model="searchObject.pageNum" max-size="10"
                    items-per-page="searchObject.pageSize" class="pagination-sm pull-right"
                    boundary-links="true" rotate="false"  ng-change="queryMerchantList()"
                    previous-text="<" next-text=">" first-text="<<" last-text=">>" style="margin:10px 0;"></pagination>
    </div>
    <div class="clearfix"></div>
</div>